//
//  VisitorView.h
//  我的微博
//
//  Created by tom-1 on 15/12/6.
//  Copyright © 2015年 tom-1. All rights reserved.
//

#import <UIKit/UIKit.h>
// 访客视图协议
@protocol VisitorViewDelegate <NSObject>

@required
// 注册
- (void)visitorViewDidRegister;
// 登录
- (void)visitorVIewDidLogin;

@end

@interface VisitorView : UIView
// 图标
@property (nonatomic,strong) UIImageView *iconView;
// 遮罩图像
@property (nonatomic,strong) UIImageView *maskIconView;
// 小房子
@property (nonatomic,strong) UIImageView *homeIconView;
// 消息文字
@property (nonatomic,strong) UILabel *messageLabel;
// 注册按钮
@property (nonatomic,strong) UIButton *registerButton;
// 登录按钮
@property (nonatomic,strong) UIButton *loginButton;

@property (nonatomic,weak) id <VisitorViewDelegate> delegate;

- (void)setupInfo:(NSString *)imageName title:(NSString *)title;


@end
